<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>查看商品详情</title>
    <link rel="stylesheet" href="/layui/css/layui.css"/>
    <link rel="stylesheet" href="/css/comment/comment-goods-see.css"/>
    <script src="/layui/layui.js"></script>
    <script src="/js/comment/comment-goods-see2.js"></script>
</head>
<body>
    <div>
        <table border="1" class="layui-table">
            <tr>
                <th colspan="6" style="text-align:center;font-size: 16px;font-weight: bold;color: black">查看商品详情</th>
            </tr>
            <tr>
                <th style="background: #F8F8F8; font-weight: bold">商品名称</th>
                <th id="productName"></th>
                <th style="background: #F8F8F8; font-weight: bold">上传时间</th>
                <th id="createDate"></th>
                <th style="background: #F8F8F8; font-weight: bold">上传人</th>
                <th id="trueName"></th>
            </tr>
            <tr>
                <th style="background: #F8F8F8; font-weight: bold">商品售价</th>
                <th id="currentpriceProduct"></th>
                <th style="background: #F8F8F8; font-weight: bold">商品搜索关键字</th>
                <th id="searchKeywords"></th>
                <th style="background: #F8F8F8; font-weight: bold">商品分类</th>
                <th id="title"></th>
            </tr>
            <tr>
                <th style="background: #F8F8F8; font-weight: bold">商品推荐</th>
                <th id="recommend"></th>
                <th style="background: #F8F8F8; font-weight: bold">商品点击量</th>
                <th id="hits"></th>
                <th style="background: #F8F8F8; font-weight: bold">商品状态</th>
                <th id="productSate"></th>
            </tr>
            <tr>
                <th colspan="6" style="font-weight: bold;color: black" class="layui-icon">&#xe64a; 文章附属目录</th>
            </tr>
            <tr>
                <th style="background: #F8F8F8; font-weight: bold;">商品附属图</th>
                <th colspan="5">
                    <img src="" id="mainImage">
                </th>
            </tr>
            <tr>
                <th colspan="6" style="font-weight: bold;color: black" class="layui-icon">&#xe629;  商品介绍详情</th>
            </tr>
            <tr>
                <th style="background: #F8F8F8; font-weight: bold;">概述</th>
                <th colspan="5">
                    <p id="productDescription"></p>
                </th>
            </tr>
            <tr>
                <th colspan="6" class="layui-icon">&#xe642; 回复评论及需要修改内容</th>
            </tr>
            <tr>
                <th colspan="6">
                    <form class="layui-form" style="margin-left:20%;margin-top:20px;">
                        <div class="layui-form-item">
                            <label class="layui-form-label">用户名：</label>
                            <div class="layui-input-inline">
                                <input type="hidden" id="userId"/>
                                <input class="layui-input" id="trueNamee" placeholder="请输入用户" disabled="disabled"/>
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">账号：</label>
                            <div class="layui-input-inline">
                                <input class="layui-input" id="account" placeholder="请输入账号" disabled="disabled"/>
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">评论内容：</label>
                            <div class="layui-input-inline">
                                <textarea class="layui-textarea" style="outline: none;resize: none;" id="content" placeholder="请发表您的评论" required></textarea>
                            </div>
                        </div>
                        <div class="layui-form-item" style="margin-left:20%;">
                            <div class="layui-input-inline">
                                <button class="layui-btn" id="tijiao">提交评论</button>
                            </div>
                        </div>
                    </form>
                </th>
            </tr>
            <tr>
                <th colspan="6" style="font-weight: bold;color: black" class="layui-icon">&#xe687; 全部评论</th>
            </tr>
        </table>
        <div id="table" style="margin-left:10%;"></div>
    </div>
</body>
</html>